<head>
	<meta charset="utf-8">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<script src="codemirror/codemirror-compressed.js"></script>
	<link rel="stylesheet" href="codemirror/codemirror.css">
</head>
<body>
	<script>
		CodeMirror.defineSimpleMode("yauj",{
			start : [
				{ regex : /[Ii][Ff]\b/,					token : "keyword" },
				{ regex : /[Dd][Oo]\b/,					token : "keyword" },
				{ regex : /[Ww][Hh][Ii][Ll][Ee]\b/,		token : "keyword" },
				{ regex : /[Ff][Oo][Rr]\b/,				token : "keyword" },
				{ regex : /[Ee][Ll][Ss][Ee]\b/,			token : "keyword" },
				{ regex : /[Tt][Rr][Uu][Ee]\b/,			token : "atom" },
				{ regex : /[Ff][Aa][Ll][Ss][Ee]\b/,		token : "atom" },
				{ regex : /[Ff][Oo][Rr][Ee][Aa][Cc][Hh]\b/,	token : "keyword" },
				{ regex : /[Aa][Ss]\b/,					token : "keyword" },
				{ regex : /[Bb][Rr][Ee][Aa][Kk]\b/,		token : "keyword" },
				{ regex : /[Cc][Oo][Nn][Tt][Ii][Nn][Uu][Ee]\b/, token : "keyword" },
				{ regex : /[Tt][Rr][Yy]/,				token : "keyword" },
				{ regex : /[Cc][Aa][Tt][Cc][Hh]/,			token : "keyword" },
				{ regex : /[Tt][Hh][Rr][Oo][Ww]/,			token : "keyword" },
				{ regex : /\"[^\"]*?\"/,					token : "string" },
				{ regex : /[a-zA-Z_]([a-zA-Z0-9_])*/,		token : "variable" },
				{ regex : /[0-9]+/,						token : "number" },
				{ regex : /[0-9]*\.[0-9]+/,				token : "number" },
				{ regex : /\/\/.*?$/,					token : "comment" }
			]
		});

		var editor = CodeMirror(document.body,{ mode: "yauj" });
	</script>
</body>
